package malred.service;

import malred.entity.department;
import malred.mapper.departmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author malguy-wang sir
 * @create ---
 */
@Service
public class departmentService {
    @Autowired
    private malred.mapper.departmentMapper departmentMapper;
    public department getDepartmentById(Integer id){
        return departmentMapper.getDepartmentById(id);
    }
}
